package cn.iocoder.yudao.module.contract.controller.admin.material.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 物料档案新增/修改 Request VO")
@Data
public class MaterialSaveReqVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "21794")
    private Long id;

    @Schema(description = "物料号", requiredMode = Schema.RequiredMode.REQUIRED)
    private String matnr;

    @Schema(description = "产品规格", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "产品规格不能为空")
    private String zzcpgg;

    @Schema(description = "旧物料号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "旧物料号不能为空")
    private String bismt;

}